package com.school.pojo;

public class Student {
	
	private Integer student_id;//学生id
	private String name;//姓名
	private Integer grade_id;//班级id
	private String phone;//联系方式
	private Integer sex;//性别
	private Integer age;//年龄
	private String address;//地址
	private String identity;//证件号
	private Integer file_id;//头像id
	private Integer is_deleted;//是否删除0未删除，1为删除
	private Integer spos_id;//职位id
	private String entry_time;//入学时间
	private String dimission_time;//离校时间
	private Integer a_id;//账号id
	
	private String position_name;//职位
	
	private String url;//图片路径
	
	private String zname;//班级名
	
	private String username;//账号
	private String password;//密码
	
	private Integer status=2;//
	
	public Student() {
		// TODO Auto-generated constructor stub
	}


	public Integer getStudent_id() {
		return student_id;
	}

	public void setStudent_id(Integer student_id) {
		this.student_id = student_id;
	}

	public String getZname() {
		return zname;
	}


	public void setZname(String zname) {
		this.zname = zname;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getGrade_id() {
		return grade_id;
	}

	public void setGrade_id(Integer grade_id) {
		this.grade_id = grade_id;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getIdentity() {
		return identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	public Integer getFile_id() {
		return file_id;
	}

	public void setFile_id(Integer file_id) {
		this.file_id = file_id;
	}

	public Integer getIs_deleted() {
		return is_deleted;
	}

	public void setIs_deleted(Integer is_deleted) {
		this.is_deleted = is_deleted;
	}

	public Integer getSpos_id() {
		return spos_id;
	}

	public void setSpos_id(Integer spos_id) {
		this.spos_id = spos_id;
	}

	public String getEntry_time() {
		return entry_time;
	}

	public void setEntry_time(String entry_time) {
		this.entry_time = entry_time;
	}

	public String getDimission_time() {
		return dimission_time;
	}

	public void setDimission_time(String dimission_time) {
		this.dimission_time = dimission_time;
	}

	public Integer getA_id() {
		return a_id;
	}

	public void setA_id(Integer a_id) {
		this.a_id = a_id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}


	


	public Student(Integer student_id, String name, Integer grade_id, String phone, Integer sex, Integer age,
			String address, String identity, Integer file_id, Integer is_deleted, Integer spos_id,
			String entry_time, String dimission_time, Integer a_id, String position_name, String url,
			String zname, String username, String password, Integer status) {
		super();
		this.student_id = student_id;
		this.name = name;
		this.grade_id = grade_id;
		this.phone = phone;
		this.sex = sex;
		this.age = age;
		this.address = address;
		this.identity = identity;
		this.file_id = file_id;
		this.is_deleted = is_deleted;
		this.spos_id = spos_id;
		this.entry_time = entry_time;
		this.dimission_time = dimission_time;
		this.a_id = a_id;
		this.position_name = position_name;
		this.url = url;
		this.zname = zname;
		this.username = username;
		this.password = password;
		this.status = status;
	}


	@Override
	public String toString() {
		return "Student [student_id=" + student_id + ", name=" + name + ", grade_id=" + grade_id + ", phone=" + phone
				+ ", sex=" + sex + ", age=" + age + ", address=" + address + ", identity=" + identity + ", file_id="
				+ file_id + ", is_deleted=" + is_deleted + ", spos_id=" + spos_id + ", entry_time=" + entry_time
				+ ", dimission_time=" + dimission_time + ", a_id=" + a_id + ", position_name=" + position_name
				+ ", url=" + url + ", zname=" + zname + ", username=" + username + ", password=" + password
				+ ", status=" + status + "]";
	}


	public String getPosition_name() {
		return position_name;
	}


	public void setPosition_name(String position_name) {
		this.position_name = position_name;
	}


	
	
}
